<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<% 
String path=request.getContextPath(); 
String basePath=request.getScheme()+ "://" + request.getServerName() + ":" + request.getServerPort() + path+ "/"; 
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<base href="<%=basePath%>">
<title>保单推送配置</title>

<%@ include file="/WEB-INF/jsp/common/common.jsp" %>
<script src="<%=path%>/js/jquery.divbox.js" type="text/javascript"></script>
<style type="text/css">
		#detail
        {
            position:relative; 
            font-size: 12px;
            background: #fff;
            border: 1px solid #000;
            z-index: 2;
            display: none;
        } 
        #detail2
        {
            position:relative;
            font-size: 12px;
            background: #fff;
            border: 1px solid #000;
            z-index: 2;
            display: none;
        } 
	</style>
</head>

<script type="text/javascript">
	function pushPolicy(){
		$('#resultInfo').html("");
		var polNo = $('#polNo').val();
		$.openLoading();
		$.ajax({
			url : "pushInfoManagerController/pushPolicyInfo",
			type : 'POST',
			async : true,
			data:{polNo:polNo},
			dataType:'json',
			success:function(result){
				$.closeLoading();
				$.message(result.message);
				$('#resultInfo').css("display",'');
				$('#resultInfo').html(result.message);//显示推送结果
				
			}
		});
		
	
	}
</script>	
<body>
	<div class="current">
          <table class="current_table_1">
             <tbody>
               <tr class="f2">
                 <td><img src="./images/current_1.jpg"></td>
                 <td class="current_table_1_td">
                   <img src="images/current_1.png">&nbsp;您现在的位置：&nbsp;
                     <span style=" color:#136bab; ">推送信息管理
                     <span style="padding:0 5px; font-weight:bold; line-height:28px;">&gt;</span>保单推送
                 </span>
                 </td>
                 <td><img src="./images/current_3.jpg"></td>
             </tr>
          </tbody>
        </table>
     </div>
     
     <table class="search_table" id="queryNlifePlanCriteriaTable">
		<tr height="30px">		
            <td style="border: 0;text-align: right;" nowrap="nowrap">保单号：</td>
			<td style="border: 0;text-align: left;padding-right: 70px">
				<input name="polNo" id="polNo" class="input_text" style="width:200px;" size="25"/>
				<input type="button"  class="input_button_1" id="searchBtn" value="推送" onClick="pushPolicy()"/>	
				<span id="resultInfo" style="display:none;color:red"></span>
			</td>
		</tr>
	</table>
</body>
</html>